package th.go.drr.gps.dao.h;

import java.util.List;

public interface JpaHandler <T>{

	public List<T>findAll(Class<T>clazz);
	public List<T>find(T o,int first,int max);
	public T findById(Class<T> clazz,Long id);
	public T findById(Class<T> clazz,Integer id);
	public Long insert(T o);
	public void update(T o);
	public void delete(T o);
	
}
